package org.jeecg.modules.flower.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.io.Serializable;

/**
 * @Description: t_flower_user
 * @Author: jeecg-boot
 * @Date:   2021-08-30
 * @Version: V1.0
 */
@Data
@TableName("t_flower_user")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="t_flower_user对象", description="t_flower_user")
public class FlowerUser implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
	/**来源基地*/
	@Excel(name = "来源基地", width = 15)
    @ApiModelProperty(value = "来源基地")
    private String sourceBase;
	/**来源大棚*/
	@Excel(name = "来源大棚", width = 15)
    @ApiModelProperty(value = "来源大棚")
    private String sourceGreenhouse;
	/**用户ID*/
	@Excel(name = "用户ID", width = 15)
    @ApiModelProperty(value = "用户ID")
    private String userId;

    /**来源基地*/
    @Excel(name = "来源基地", width = 15)
    @ApiModelProperty(value = "来源基地")
    @TableField(exist = false)
    private String sourceBaseTxt;

    /**来源大棚*/
    @Excel(name = "来源大棚", width = 15)
    @ApiModelProperty(value = "来源大棚")
    @TableField(exist = false)
    private String sourceGreenhouseTxt;
}
